package com.xyy.saas.payment.service;

import com.xyy.saas.payment.dao.model.PayFinanceApply;

import java.util.List;

public interface PinganLoanFinanceApplyService {

    int insert(PayFinanceApply record);

    PayFinanceApply selectByThirdApplyNo(String thirdApplyNo);

    PayFinanceApply selectByLoanBalanceNo(String loanBalanceNo);

    int updateByPrimaryKeySelective(PayFinanceApply record);

    List<PayFinanceApply> selectListByBusinessUserIdAndApplyStatus(String businessUserId, String applyStatus);

    PayFinanceApply findLatestRecord(String businessUserId, Integer financeChannel);

    PayFinanceApply findLatestRecordByLoanBalanceNo(String loanBalanceNo, Integer financeChannel);
}
